Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.26.0
->0.27.1
Release Notes
nix-rust/nix (nix)
v0.27.1
Compare Source
Fixed
(#2111)
v0.27.0
Compare Source
Added
AT_EACCESS
toAtFlags
on all platforms but android(#1995)
PF_ROUTE
toSockType
on macOS, iOS, all of the BSDs, Fuchsia, Haiku, Illumos.(#1867)
nix::ucontext
module onaarch64-unknown-linux-gnu
.(#1662)
CanRaw
toSockProtocol
andCanBcm
as a separateSocProtocol
constant.(#1912)
Generic
andNFLOG
toSockProtocol
.(#2092)
mq_timedreceive
to::nix::mqueue
.([#1966])(https://github.com/nix-rust/nix/pull/1966)
LocalPeerPid
tonix::sys::socket::sockopt
for macOS. (#1967)TFD_TIMER_CANCEL_ON_SET
to::nix::sys::time::TimerSetTimeFlags
on Linux and Android.(#2040)
SOF_TIMESTAMPING_OPT_ID
andSOF_TIMESTAMPING_OPT_TSONLY
tonix::sys::socket::TimestampingFlag
.(#2048)
SO_SETFIB
andSO_USER_COOKIE
tonix::sys::socket::sockopt
for FreeBSD.(#2085)
SO_RTABLE
for OpenBSD andSO_ACCEPTFILTER
for FreeBSD/NetBSD tonix::sys::socket::sockopt
.(#2085)
MSG_WAITFORONE
toMsgFlags
on Android, Fuchsia, Linux, NetBSD,FreeBSD, OpenBSD, and Solaris.
(#2014)
SO_TS_CLOCK
for FreeBSD tonix::sys::socket::sockopt
.(#2093)
(#1550)
nix::socket
andnix::select
are now available on Redox.(#2012)
mqueue::MqdT
.(#2097)
kevent_flags
onSigEvent
.(#1731)
Changed
All Cargo features have been removed from the default set. Users will need to
specify which features they depend on in their Cargo.toml.
(#2091)
Implemented I/O safety for many, but not all, of Nix's APIs. Many public
functions argument and return types have changed:
(#1906)
Use I/O safety with
copy_file_range
, and expose it on FreeBSD.(#1906)
The MSRV is now 1.65
(#1862)
(#2104)
The epoll interface now uses a type.
(#1882)
With I/O-safe type applied in
pty::OpenptyResult
andpty::ForkptyResult
,users no longer need to manually close the file descriptors in these types.
(#1921)
Refactored
name
parameter ofmq_open
andmq_unlink
to be generic overNixPath
.(#2102).
Made
clone
unsafe, likefork
.(#1993)
Removed
sys::event::{kevent, kevent_ts}
are deprecated in favor ofsys::kevent::Kqueue::kevent
, andsys::event::kqueue
is deprecated infavor of
sys::kevent::Kqueue::new
.(#1943)
(#1855)
(#1861)
nix::sys::signalfd::signalfd
is deprecated. Usenix::sys::signalfd::SignalFd
instead.(#1938)
SigEvent
support on Fuchsia, where it was unsound.(#2079)
flock
from::nix::fcntl
on Solaris.(#2082)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.